<?php
$db = new PDO('mysql:host=localhost;dbname=test', "root","root");
return $db;